const { target, args } = require('./tool/args')
const { run } = require('./util')

if (args._.length < 2) throw new Error('run script param is Error')

run(`yarn workspace @lin/${target} run ${args._[1]}`, [], {
  shell: true
})